]> dgit.raspbian.org Git - gnome-shell.git/commit
power: Handle "100% but charging" case
authorPhilip Chimento <philip@endlessm.com>
Thu, 7 Nov 2019 20:51:28 +0000 (12:51 -0800)
committerPhilip Chimento <philip@endlessm.com>
Thu, 7 Nov 2019 20:58:54 +0000 (12:58 -0800)
commit5fd52e99d39bdb3564a1f18921e8b7c54d2692bd
treeff716989ea81884aae2619283113c6b0d8009d08
parentfd5989e99a3bbaa978c0dd4cd55d1fc677c175da
power: Handle "100% but charging" case

I've observed that UPower can occasionally report a charge level of 100%
while the state is still "charging". This usually doesn't last very long
but it is noticeable because the power icon changes to a "missing icon"
icon. This will handle that rare case correctly.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/814
js/ui/status/power.js